package com.co.server.service.vote.impl;

import java.util.Collection;

import com.co.common.dao.BaseDao;
import com.co.common.service.BaseServiceImpl;
import com.co.server.dao.vote.TVoteLabelDao;
import com.co.server.entity.vote.TVoteLabel;
import com.co.server.service.vote.TVoteLabelService;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

@Service
public class TVoteLabelServiceImpl extends BaseServiceImpl<TVoteLabel, Integer> implements TVoteLabelService {
    @Resource
    private TVoteLabelDao tVoteLabelDao;

    @Override
    protected BaseDao<TVoteLabel, Integer> getBaseDao() {
        return tVoteLabelDao;
    }

	public Collection<Integer> queryVoteIdsByVoteId(Integer voteId) {
		return tVoteLabelDao.selectVoteIdsByVoteId(voteId);
	}
}